<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Currency_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-currency_name" data-rule="required" class="form-control" name="row[currency_name]" type="text" value="{$row.currency_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('En_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-en_name" class="form-control" name="row[en_name]" type="text" value="{$row.en_name}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Currency_logo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-currency_logo" data-rule="required" class="form-control" size="50" name="row[currency_logo]" type="text" value="{$row.currency_logo}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-currency_logo" class="btn btn-danger plupload" data-input-id="c-currency_logo" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-currency_logo"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-currency_logo" class="btn btn-primary fachoose" data-input-id="c-currency_logo" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-currency_logo"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-currency_logo"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Currency_mark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-currency_mark" data-rule="required" class="form-control" name="row[currency_mark]" type="text" value="{$row.currency_mark}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Currency_content')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-currency_content"  class="form-control editor" rows="5" name="row[currency_content]" cols="50">{$row.currency_content}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Currency_all_money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-currency_all_money"  class="form-control" step="0.000001" name="row[currency_all_money]" type="number" value="{$row.currency_all_money}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Currency_all_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-currency_all_num" data-rule="required" class="form-control" step="0.0001" name="row[currency_all_num]" type="number" value="{$row.currency_all_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Currency_buy_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-currency_buy_fee"  class="form-control" step="0.00000001" name="row[currency_buy_fee]" type="number" value="{$row.currency_buy_fee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Currency_sell_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-currency_sell_fee"  class="form-control" step="0.00000001" name="row[currency_sell_fee]" type="number" value="{$row.currency_sell_fee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Currency_transfer_in_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-currency_transfer_in_fee"  class="form-control" step="0.00000001" name="row[currency_transfer_in_fee]" type="number" value="{$row.currency_transfer_in_fee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Currency_transfer_out_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-currency_transfer_out_fee"  class="form-control" step="0.00000001" name="row[currency_transfer_out_fee]" type="number" value="{$row.currency_transfer_out_fee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Miner_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-miner_fee"  class="form-control" step="0.00000001" name="row[miner_fee]" type="number" value="{$row.miner_fee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Port_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-port_number"  class="form-control" name="row[port_number]" type="number" value="{$row.port_number}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Rpc_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rpc_url"  class="form-control" name="row[rpc_url]" type="text" value="{$row.rpc_url}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Rpc_pwd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rpc_pwd"  class="form-control" name="row[rpc_pwd]" type="text" value="{$row.rpc_pwd}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Rpc_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-rpc_user"  class="form-control" name="row[rpc_user]" type="text" value="{$row.rpc_user}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Currency_withdraw_max')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-currency_withdraw_max"  class="form-control" name="row[currency_withdraw_max]" type="number" value="{$row.currency_withdraw_max}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Detail_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-detail_url"  class="form-control" name="row[detail_url]" type="text" value="{$row.detail_url}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wallet_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wallet_address"  class="form-control" name="row[wallet_address]" type="text" value="{$row.wallet_address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price_up')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price_up"  class="form-control" step="0.0001" name="row[price_up]" type="number" value="{$row.price_up}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Price_down')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-price_down"  class="form-control" step="0.0001" name="row[price_down]" type="number" value="{$row.price_down}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Sort')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sort" data-rule="required" class="form-control" name="row[sort]" type="number" value="{$row.sort}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Official_url')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-official_url" class="form-control" name="row[official_url]" type="text" value="{$row.official_url}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Block_timespan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-block_timespan"  class="form-control" name="row[block_timespan]" type="number" value="{$row.block_timespan}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Block_confirm_count')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-block_confirm_count"  class="form-control" name="row[block_confirm_count]" type="number" value="{$row.block_confirm_count}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Precision')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-precision" data-rule="required" class="form-control" name="row[precision]" type="number" value="{$row.precision}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Block_height')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-block_height"  class="form-control" name="row[block_height]" type="number" value="{$row.block_height}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Contract_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contract_address"  class="form-control" name="row[contract_address]" type="text" value="{$row.contract_address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Wallet_type_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wallet_type_id" data-rule="required" data-primary-key="wallet_type_id" data-source="asset/wallettype/index"  class="form-control selectpage" name="row[wallet_type_id]" type="text" value="{$row.wallet_type_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Is_lock')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="isLockList" item="vo"}
                <label for="row[is_lock]-{$key}"><input id="row[is_lock]-{$key}" name="row[is_lock]" type="radio" value="{$key}" {in name="key" value="$row.is_lock"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Is_show')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="isShowList" item="vo"}
                <label for="row[is_show]-{$key}"><input id="row[is_show]-{$key}" name="row[is_show]" type="radio" value="{$key}" {in name="key" value="$row.is_show"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Default_concern')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="defaultConcernList" item="vo"}
                <label for="row[default_concern]-{$key}"><input id="row[default_concern]-{$key}" name="row[default_concern]" type="radio" value="{$key}" {in name="key" value="$row.default_concern"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2"><label style="color: red;font-size:17px">*&nbsp;</label>{:__('Precision_flag')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="radio">
                {foreach name="precisionFlagList" item="vo"}
                <label for="row[precision_flag]-{$key}"><input id="row[precision_flag]-{$key}" name="row[precision_flag]" type="radio" value="{$key}" {in name="key" value="$row.precision_flag"}checked{/in} /> {$vo}</label>
                {/foreach}
            </div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Add_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-add_time"  class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[add_time]" type="text" value="{$row.add_time|datetime}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
